Package com.cisco.pt.ipc.sim.pdu.impl
Class SshPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.TelnetPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.SshPacketImpl
- All Implemented Interfaces:
IPCData,Pdu,Signal,SshPacket,TelnetPacket
- Direct Known Subclasses:
SshAuthPacketImpl
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.TelnetPacketImpl
data, echo, promptSizeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetVersion(SshVersion version) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.TelnetPacketImpl
getData, getEcho, getPromptSize, setData, setEcho, setPromptSizeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValueMethods inherited from interface com.cisco.pt.ipc.sim.pdu.TelnetPacket
getData, getEcho, getPromptSize, setData, setEcho, setPromptSize
-
Field Details
-
version
-
-
Constructor Details
-
SshPacketImpl
public SshPacketImpl()
-
-
Method Details
-
getVersion
- Specified by:
getVersionin interfaceSshPacket- Returns:
- SshVersion Returns a SshVersion
-
setVersion
- Specified by:
setVersionin interfaceSshPacket- Parameters:
version- Takes in a parameter of version
-
getFieldType
- Overrides:
getFieldTypein classTelnetPacketImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classTelnetPacketImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classTelnetPacketImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classTelnetPacketImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classTelnetPacketImpl
-